var ioc = {
    // 读取配置文件
    conf : {
        type : "org.nutz.ioc.impl.PropertiesProxy",
        fields : {
            paths : [ "etc/" ]
        }
    },
    dataSource : {
        factory : "$conf#make",
        args : [ "com.alibaba.druid.pool.DruidDataSource", "db." ],
        type : "com.alibaba.druid.pool.DruidDataSource",
        events : {
            create : "init",
            depose : 'close'
        }
    },
    dao : {
        type : "org.nutz.dao.impl.NutDao",
        args : [ {refer : "dataSource" } ,
            {refer : "fileSqlManager" }
        ]
    },
    fileSqlManager : {
        type : "org.nutz.dao.impl.FileSqlManager",
        args : "sql"
    }
}